package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章列表对象 fa_artcle
 * 
 * @author ruoyi
 * @date 2022-11-09
 */
public class FaArtcle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long articleId;

    /** 文章名称 */
    @Excel(name = "文章名称")
    private String postName;

    /** 文章图 */
    @Excel(name = "文章图")
    private String articleImage;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer articleSort;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String artcleContent;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setArticleImage(String articleImage) 
    {
        this.articleImage = articleImage;
    }

    public String getArticleImage() 
    {
        return articleImage;
    }
    public void setArticleSort(Integer articleSort) 
    {
        this.articleSort = articleSort;
    }

    public Integer getArticleSort() 
    {
        return articleSort;
    }
    public void setArtcleContent(String artcleContent) 
    {
        this.artcleContent = artcleContent;
    }

    public String getArtcleContent() 
    {
        return artcleContent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("postName", getPostName())
            .append("articleImage", getArticleImage())
            .append("articleSort", getArticleSort())
            .append("artcleContent", getArtcleContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
